Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Operands for Sprites in a Sprite Track

kOperandSpriteBoundsLeft
No Params

The left side of the target sprite's bounding box in its track's local coordinate system is returned. See "Sprite's Bounding Box" (page 23) for a description of a sprite's bounding box.

kOperandSpriteBoundsTop
No Params

The top of the target sprite's bounding box in its track's local coordinate system is returned. See "Sprite's Bounding Box" (page 23) for a description of a sprite's bounding box.

kOperandSpriteBoundsRight
No Params

The right side of the target sprite's bounding box in its track's local coordinate system is returned. See "Sprite's Bounding Box" (page 23) for a description of a sprite's bounding box.

kOperandSpriteBoundsBottom
No Params

The bottom of the target sprite's bounding box in its track's local coordinate system is returned. See "Sprite's Bounding Box" (page 23) for a description of a sprite's bounding box.

kOperandSpriteImageIndex
No Params

The current image index of the target sprite is returned.

kOperandSpriteVisible
No Params

The current value of the target sprite's visible property is returned. The value is 1 if it is visible, and 0 if it is invisible.

kOperandSpriteLayer
No Params

The layer of the target sprite is returned.

kOperandSpriteID
No Params

The ID of the target sprite is returned. Note that if the ID has a value not expressable in a floating-point number, the results will not be the same.

kOperandSpriteIndex
No Params

The index of the target sprite is returned.

kOperandSpriteFirstCornerX
No Params

The x coordinate of the target sprite's first corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteFirstCornerY
No Params

The y coordinate of the target sprite's first corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteSecondCornerX
No Params

The x coordinate of the target sprite's second corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteSecondCornerY
No Params

The y coordinate of the target sprite's second corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteThirdCornerX
No Params

The x coordinate of the target sprite's third corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteThirdCornerY
No Params

The y coordinate of the target sprite's third corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteFourthCornerX
No Params

The x coordinate of the target sprite's fourth corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteFourthCornerY
No Params

The y coordinate of the target sprite's fourth corner is returned. See "Sprites' Four Corners" (page 24) for a description of a sprite's four corners.

kOperandSpriteImageRegistrationPointX
No Params

The x coordinate of the target sprite's current image's registration point is returned.

kOperandSpriteImageRegistrationPointY
No Params

The y coordinate of the target sprite's current image's registration point is returned.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |